package com.twu.biblioteca;

public class Launcher {
    public static void main(String[] args) {

        Book[] books = {
            new Book("The Design Of Everyday Things", "2002", "Donald A. Norman", false),
            new Book("Harry Potter", "1997", "J.K. Rowling", false),
            new Book("One Hundred Years of Solitude", "1967", "Gabriel García Márquez", true)

        };

        Movie[] movies = {
            new Movie("The Goodfellas", "1990", "Martin Scorecesse", 8, false),
            new Movie("Resorvoir Dogs", "1992", "Quentine Tarantino", 7, true),
            new Movie("2000: A space odyssey", "1967", "Stanley Kubrik", 9, false)
        };

        User[] users = {
            new User("111-1111", "dhanesh", "Dhanesh", "dhanesh@example.com", "12345"),
            new User("222-2222", "arole", "Arole", "arole@example.com", "5678"),
            new User("333-3333", "dummyuser", "Dummy", "dummy@example.net", "9101112")
        };

        new BibliotecaApp(new BookCollection(books), new MovieCollection(movies), new UserCollection(users), null).run(System.out, System.in);
    }
}
